XCurrency\App\Repositories\CurrencyRepository S

Total Complexity 43
Dependencies 3
Dependents 18
Total lines 291
Lines of code 230
Logical lines of code 115
Comment lines 1
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
get_currencies()
A
46 11 40
query()
S
51 6 30
sort_currencies()
S
54 4 21
create()
S
48 2 33
get_base_currency()
S
60 3 14
update()
S
51 2 27
get_by_first()
S
61 3 12
prepare_currency()
S
60 2 13
sort_ids()
S
74 2 4
update_sort_ids()
S
78 1 3
normalize_rate()
S
78 1 3
get()
S
80 1 3
update_base_currency()
S
66 1 8
get_all()
S
79 1 3
update_geo()
S
66 1 9
get_geo()
S
79 1 3
get_base_currency_id()
S
76 1 4